package cn.z2huo.demo.jakarta.validation.model.dto;

import cn.z2huo.demo.jakarta.validation.annotation.InStringList;
import lombok.Data;

/**
 * <p>
 *
 * @author z2huo
 */
@Data
public class TestInListReqDTO {

    @InStringList(values = {"1", "2", "3"}, message = "not in string list[\"1\", \"2\", \"3\"]")
    private String string;

    @InStringList(values = {"1", "2", "3"}, message = "类型不正确")
    private Integer integer;

}
